using System;
using System.Collections;

namespace Lt.Workflow
{
    public interface IWorkflow
    {
        void Add(IWorkflowItem item);
        void Execute(object context, bool continueOnError, Action<IWorkflowItem, Exception> onError = null);

        void Cleanup();
        string GetStatus();
    }
}